import os

def get_interfaces():
    intfaces = []
    for line in os.popen('ifconfig', 'r'):
        if 'HWaddr' in line:
            name = line.split()[0]
            mac = line.split('HWaddr')[1].split()[0]
            intfaces.append((name, mac))
    return intfaces

def get_key():
    return None